package com.byapp.fast.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum ItemStatusEnum implements CodeEnum<Integer> {

    ITEM_INIT(0, "初始状态"),
    ITEM_SUCCESS(10, "投注成功(待开奖)"),
    ITEM_ERROR_ING(-5, "投注失败(退款中)"),
    ITEM_ERROR(-10, "投注失败"),
    ITEM_PRIZE_NONE(-100, "未中奖"),
    ITEM_PRIZE_ING(100, "返奖中"),
    ITEM_PRIZE_SUCCESS(110, "返奖成功"),
    ITEM_DRAW(120, "走盘"),
    ITEM_LOST_HALF(130, "输一半"),
    ITEM_WIN_HALF(140, "赢一半"),
    ITEM_REFUND_ING(200, "退款中"),
    ITEM_REFUND_SUCCESS(210, "退款成功"),;

    private Integer code;
    private String msg;

}
